/* 
 * File:   configuration.h
 * Author: Julian Sanin
 *
 * Created on 02/03/2014, 10:41
 *
 * Device configuration file.
 * Edit this file to your needs.
 */

#ifndef CONFIGURATION_H
#define	CONFIGURATION_H

#ifdef	__cplusplus
extern "C" {
#endif

/******************************************************************************
 * 4x PLL configuration (0 = off, 1 = on).
 ******************************************************************************/
#define PLL 1

/******************************************************************************
 * FRC Postscaler configuration.
 * 0 = divide-by-1,      4 = divide-by-16,
 * 1 = divide-by-2,      5 = divide-by-32,
 * 2 = divide-by-4,      6 = divide-by-64,
 * 3 = divide-by-8,      7 = divide-by-256
 ******************************************************************************/
#define FRCDIV 0

/******************************************************************************
 * Clock cycle frequency (Fcy). Fcy = Fosc/2, Tcy = 1/Fcy.
 ******************************************************************************/
#ifndef FCY
#define FCY 16000000
#endif

#ifdef	__cplusplus
}
#endif

#endif	/* CONFIGURATION_H */
